]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Reorganize AppDisplay actor hierarchy
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Wed, 11 Dec 2019 18:07:16 +0000 (15:07 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Thu, 9 Apr 2020 00:12:06 +0000 (21:12 -0300)
commit167bc080d9a927249ee49580be3d277674eb6357
tree81ea7d321a67b2b2d13aa1a63fbfd50c5f0c5384
parent7d7a15f978c7ff27476e984ab21e5f00a1922c5c
appDisplay: Reorganize AppDisplay actor hierarchy

Right now, the actor hierarchy is such that the scroll view
does not contain the actual grid. It looks as follows:

              StScrollView
                    ↓
               StBoxLayout
                    ↓
                ShellStack
                ↓        ↓
   PaginatedIconGrid     StWidget

This hierarchy can be slightly reorganized by changing it to be as
follows:

            ShellStack
             ↓     ↓
   StScrollView   StWidget
        ↓
   StBoxLayout
        ↓
 PaginatedIconGrid

This will simplify future work where the PaginatedIconGrid will be
an implementation of StScrollable, in which case we'll be able to
simply remove the StBoxLayout from there.

https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1191
js/ui/appDisplay.js